package com.ruoyi.base.domain.bo;

import com.ruoyi.common.core.validate.AddGroup;
import com.ruoyi.common.core.validate.EditGroup;
import lombok.Data;
import lombok.EqualsAndHashCode;
import javax.validation.constraints.*;

import java.util.Date;

import com.ruoyi.common.core.domain.TreeEntity;

/**
 * 试验器具业务对象 base_sy_qj
 *
 * @author zyb
 * @date 2024-04-12
 */

@Data
@EqualsAndHashCode(callSuper = true)
public class SyQjBo extends TreeEntity<SyQjBo> {

    /**
     * 试验器具id
     */
    @NotNull(message = "试验器具id不能为空", groups = { EditGroup.class })
    private Long syQjId;

    /**
     * 试验器具名称
     */
    private String syQjName;

    /**
     * 排序
     */
    @NotNull(message = "排序不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long sort;

    private Long parentId;

    private Long deptId;

}
